import datetime

from sqlalchemy import Column, String, Integer, DateTime, func

from utils.work_db import Base


class WeixinDict(Base):
    __tablename__ = 'weixin_dict'
    key = Column(String, primary_key=True)
    value = Column(String)
    status = Column(Integer)
    create_time = Column(DateTime, default=func.now())
    update_time = Column(DateTime, default=func.now())
